package com.zhongjinkang.rhythm.AppView.Activity

import android.os.Bundle
import android.util.Log
import androidx.lifecycle.ViewModel
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.zhongjinkang.rhythm.MyApplication
import com.zhongjinkang.rhythm.R
import com.zhongjinkang.rhythm.databinding.ActivityMainBinding

class MainActivity : BaseActivity<ViewModel, ActivityMainBinding>(
    null, ActivityMainBinding::inflate
) {


    override fun onCreate(savedInstanceState: Bundle?) {


        super.onCreate(savedInstanceState)
        val navHostFragment =
            supportFragmentManager.findFragmentById(R.id.content_nav) as NavHostFragment
        val navController = navHostFragment.navController
        binding.bottomNav.setupWithNavController(navController)

    }

    override fun toRefreshUI(viedModel: ViewModel?) {

    }


}